namespace StudentManagement.Domain.Entities;

public class Class
{
    public int Id { get; set; }
    public string ClassName { get; set; } // 班级名称
    public string Grade { get; set; } // 年级
    public string Major { get; set; } // 专业
    public string Department { get; set; } // 系别
    public string HeadTeacher { get; set; } // 班主任
    public int TotalStudents { get; set; } // 学生总数
    public DateTime CreationDate { get; set; } // 创建日期
    
    // 导航属性
    public List<Student> Students { get; set; } = new List<Student>();
    public List<Course> Courses { get; set; } = new List<Course>();
}